package io.renren.modules.eightapp.service;

import io.renren.common.service.CrudService;

import io.renren.modules.eightapp.dto.EiComplainDTO;
import io.renren.modules.eightapp.dto.EiComplainInfoDTO;
import io.renren.modules.eightapp.entity.EiComplainInfoEntity;

import java.util.List;

/**
 * 
 *
 * @author Mark 1132115960@gmail.com
 * @since 1.0.0 2022-12-27
 */
public interface EiComplainInfoService extends CrudService<EiComplainInfoEntity, EiComplainInfoDTO> {


    public int updateStateById(Integer id);

    public List<EiComplainInfoDTO> getComplainListByownerId(int ownerId);

    public EiComplainInfoDTO getComplainById(int id);

    public Integer deleteComplainById(int id);

    public Integer deleteComplainList(List<Integer> ids);

    public Integer getStateListById(List<Integer> ids);

    public List<EiComplainDTO> getComplainList();
}